package com.xianyv.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;

import java.io.Serializable;
import java.util.Collection;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("admin_info")
public class AdminInfo implements Serializable,Cloneable {
    /**
     * 工号
     */
    @TableId
    private Long id;

    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 0禁用 1启用
     */
    private Integer status;
    /**
     * 0否 1是
     */
    @TableLogic
    private Integer deleted;


}